package com.xuan.factory.abstarct;

public class PhoneFactory implements AbstractFactory{

    @Override
    public Device createDevice() {
        return new Phone();
    }

    @Override
    public Accessory createAccessory() {
        return new PhoneEar();
    }
}
